package com.gxnzd.communityelderly.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * @TableName drug_library
 */
@TableName(value ="drug_library")
@Data
public class DrugLibrary implements Serializable {
    private Integer drugsId;

    @TableId(value="library_id",type = IdType.AUTO)
    private Integer libraryId;

    private Integer communityId;

    private Integer stock;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(fill = FieldFill.INSERT)
    private Long createUser;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;

    //是否删除
    @TableLogic
    private Integer isDeleted;

    private static final long serialVersionUID = 1L;
}